﻿@model LunchList.ViewModels.ErrorViewModel

<div class="alert alert-danger">
    @foreach (string error in Model.Errors)
    {
        <strong>Error: </strong> @error
    }
</div>

@if(@Model.ViewModel != null)
{
     Html.RenderAction(Model.Action, Model.Controller, Model.ViewModel); 
}






